package com.study.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.yygh.model.cmn.Dict;
import com.study.yygh.model.hosp.HospitalSet;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author tao
 * @create 2021-09-15 11:38
 * @Description
 */
public interface DictService extends IService<Dict> {

    // 根据数据id查询子数据列表
    List<Dict> findChildData(Long id);

    void exportDictData(HttpServletResponse response);

    void importDictData(MultipartFile file);

    String getDictName(String dictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
